--[[

shared_functions.lua

These functions are shared amongst the various program sections of the addon.

]]

-- Function: Return the value to given precision.
function LXP_SF_ValueToPrecision(value, precision)
	local precValue = 10 ^ precision;
	
	value = floor(value * precValue) / precValue;
	
	return value;
end
